//
//package com.rt.schedulebase.service.impl;
//import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
//import com.baomidou.mybatisplus.core.conditions.Wrapper;
//import java.util.Map;
//import java.util.HashMap;
//import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
//import java.util.List;
//import com.rt.schedulebase.dto.DictSysparamsDto;
//import java.io.Serializable;
//import com.rt.schedulebase.service.IDictSysparamsService;
//import com.rt.schedulebase.entity.DictSysparams;
//import com.rt.schedulebase.mapper.DictSysparamsMapper;
//import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
//public class DictSysparamsServiceImpl extends ServiceImpl<DictSysparamsMapper, DictSysparams> implements IDictSysparamsService
//{
//@Override
//    public boolean insertSelective(final DictSysparams dictSysparams) {
//        return this.retBool(Integer.valueOf(((DictSysparamsMapper)this.baseMapper).insert(dictSysparams)));
//    }
//
//@Override
//    public boolean deleteByPrimaryKey(final String key) {
//        return this.retBool(Integer.valueOf(((DictSysparamsMapper)this.baseMapper).deleteById((Serializable)key)));
//    }
//
//@Override
//    public boolean updateByPrimaryKeySelective(final DictSysparams dictSysparams) {
//        return this.retBool(Integer.valueOf(((DictSysparamsMapper)this.baseMapper).updateById(dictSysparams)));
//    }
//
//@Override
//    public DictSysparams selectByPrimaryKey(final String key) {
//        return (DictSysparams)((DictSysparamsMapper)this.baseMapper).selectById((Serializable)key);
//    }
//
//@Override
//    public List<DictSysparams> getList(final DictSysparamsDto dto) {
//        final QueryWrapper<DictSysparams> qw = (QueryWrapper<DictSysparams>)new QueryWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("EXAM_CLASS", dto.getExamClass());
//        map.put("HOSPITAL_CODE", dto.getHospitalCode());
//        map.put("PARAM_NAME", dto.getParamName());
//        qw.allEq((Map)map, false);
//        final List<DictSysparams> list = (List<DictSysparams>)((DictSysparamsMapper)this.baseMapper).selectList((Wrapper)qw);
//        return list;
//    }
//
//@Override
//    public List<DictSysparams> getListAll() {
//        return (List<DictSysparams>)((DictSysparamsMapper)this.baseMapper).selectList((Wrapper)null);
//    }
//
//@Override
//    public boolean delete(final DictSysparams dictSysparams) {
//        final UpdateWrapper<DictSysparams> uw = (UpdateWrapper<DictSysparams>)new UpdateWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("PARAM_NAME", dictSysparams.getParamName());
//        uw.allEq((Map)map, false);
//        return this.retBool(Integer.valueOf(((DictSysparamsMapper)this.baseMapper).delete((Wrapper)uw)));
//    }
//
//@Override
//    public boolean update(final DictSysparams dictSysparams) {
//        final UpdateWrapper<DictSysparams> uw = (UpdateWrapper<DictSysparams>)new UpdateWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("PARAM_NAME", dictSysparams.getParamName());
//        uw.allEq((Map)map, false);
//        return this.retBool(Integer.valueOf(((DictSysparamsMapper)this.baseMapper).update(dictSysparams, (Wrapper)uw)));
//    }
//
//@Override
//    public DictSysparams getInfo(final DictSysparamsDto dto) {
//        final QueryWrapper<DictSysparams> qw = (QueryWrapper<DictSysparams>)new QueryWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("PARAM_NAME", dto.getParamName());
//        qw.allEq((Map)map, false);
//        return (DictSysparams)((DictSysparamsMapper)this.baseMapper).selectOne((Wrapper)qw);
//    }
//}
